package com.gluck.cases.common.utils.utils;

/**
 * StringUtil
 *
 * @author shiyongzhe
 * @date 10/27/21
 * @desc 字符串处理工具类
 **/
public class StringUtil {

    private StringUtil() {
    }

    /**
     * 首字母大写
     * @param name
     * @return
     */
    public static String captureName(String name) {
        name = name.substring(0, 1).toUpperCase() + name.substring(1);
        return  name;
    }
}
